<template>
  <div class="not-found">
    <h2>404 Not Found</h2>
    <el-button type="primary" @click="goBack">返回</el-button>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { useRouter } from 'vue-router'
const router = useRouter()
const goBack = () => {
  router.back()
}
</script>
<style scoped lang="less">
.not-found {
  width: 200px;
  height: 200px;
  margin: 100px auto;
}
</style>
